package com.recruit.server.service;

import com.recruit.server.common.HeaderInfo;
import com.recruit.server.request.category.AddCategoryRequest;
import com.recruit.server.request.category.ListCategoryRequest;
import com.recruit.server.request.category.UpdateCategoryRequest;
import com.recruit.server.response.category.AddCategoryResponse;
import com.recruit.server.response.category.ListCategoryResponse;
import com.recruit.server.response.category.UpdateCategoryResponse;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.RequestBody;

public interface ICategoryService {

    ListCategoryResponse list(@Validated @RequestBody ListCategoryRequest request, HeaderInfo headerInfo);

    AddCategoryResponse add(@Validated @RequestBody AddCategoryRequest request, HeaderInfo headerInfo);

    UpdateCategoryResponse update(@Validated @RequestBody UpdateCategoryRequest request, HeaderInfo headerInfo);
}
